package com.colorlight.cloud.complete.entity.po;

import com.colorlight.cloud.gateway.api.annotation.name;
import com.colorlight.cloud.gateway.api.message.constraint.basics.object.Trans;
import com.colorlight.iot.proto.complete.entity.CompleteEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class LimitDate implements Trans<LimitDate, CompleteEntity.LimitDate> {

    /**
     * 限制日期的开始日期，格式为yyyy-MM-dd
     */
    @name("starDate")
    private String startDate;

    /**
     * 限制日期的结束日期，格式为yyyy-MM-dd
     */
    private String endDate;

    /**
     * 开始时间，格式为HH:mm:ss
     */
    @name("starTime")
    private String startTime;

    /**
     * 结束时间，格式为HH:mm:ss
     */
    private String endTime;
}

